Optimal. Leaf size=96 \[ \frac{5}{8} a^2 \sqrt{x} \sqrt{a-b x}+\frac{5 a^3 \tan ^{-1}\left (\frac{\sqrt{b} \sqrt{x}}{\sqrt{a-b x}}\right )}{8 \sqrt{b}}+\frac{5}{12} a \sqrt{x} (a-b x)^{3/2}+\frac{1}{3} \sqrt{x} (a-b x)^{5/2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0304088, antiderivative size = 96, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 4, integrand size = 16, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.25, Rules used = {50, 63, 217, 203} \[ \frac{5}{8} a^2 \sqrt{x} \sqrt{a-b x}+\frac{5 a^3 \tan ^{-1}\left (\frac{\sqrt{b} \sqrt{x}}{\sqrt{a-b x}}\right )}{8 \sqrt{b}}+\frac{5}{12} a \sqrt{x} (a-b x)^{3/2}+\frac{1}{3} \sqrt{x} (a-b x)^{5/2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 50
Rule 63
Rule 217
Rule 203
Rubi steps
\begin{align*} \int \frac{(a-b x)^{5/2}}{\sqrt{x}} \, dx &=\frac{1}{3} \sqrt{x} (a-b x)^{5/2}+\frac{1}{6} (5 a) \int \frac{(a-b x)^{3/2}}{\sqrt{x}} \, dx\\ &=\frac{5}{12} a \sqrt{x} (a-b x)^{3/2}+\frac{1}{3} \sqrt{x} (a-b x)^{5/2}+\frac{1}{8} \left (5 a^2\right ) \int \frac{\sqrt{a-b x}}{\sqrt{x}} \, dx\\ &=\frac{5}{8} a^2 \sqrt{x} \sqrt{a-b x}+\frac{5}{12} a \sqrt{x} (a-b x)^{3/2}+\frac{1}{3} \sqrt{x} (a-b x)^{5/2}+\frac{1}{16} \left (5 a^3\right ) \int \frac{1}{\sqrt{x} \sqrt{a-b x}} \, dx\\ &=\frac{5}{8} a^2 \sqrt{x} \sqrt{a-b x}+\frac{5}{12} a \sqrt{x} (a-b x)^{3/2}+\frac{1}{3} \sqrt{x} (a-b x)^{5/2}+\frac{1}{8} \left (5 a^3\right ) \operatorname{Subst}\left (\int \frac{1}{\sqrt{a-b x^2}} \, dx,x,\sqrt{x}\right )\\ &=\frac{5}{8} a^2 \sqrt{x} \sqrt{a-b x}+\frac{5}{12} a \sqrt{x} (a-b x)^{3/2}+\frac{1}{3} \sqrt{x} (a-b x)^{5/2}+\frac{1}{8} \left (5 a^3\right ) \operatorname{Subst}\left (\int \frac{1}{1+b x^2} \, dx,x,\frac{\sqrt{x}}{\sqrt{a-b x}}\right )\\ &=\frac{5}{8} a^2 \sqrt{x} \sqrt{a-b x}+\frac{5}{12} a \sqrt{x} (a-b x)^{3/2}+\frac{1}{3} \sqrt{x} (a-b x)^{5/2}+\frac{5 a^3 \tan ^{-1}\left (\frac{\sqrt{b} \sqrt{x}}{\sqrt{a-b x}}\right )}{8 \sqrt{b}}\\ \end{align*}
Mathematica [A] time = 0.117461, size = 82, normalized size = 0.85 \[ \frac{1}{24} \sqrt{a-b x} \left (\sqrt{x} \left (33 a^2-26 a b x+8 b^2 x^2\right )+\frac{15 a^{5/2} \sin ^{-1}\left (\frac{\sqrt{b} \sqrt{x}}{\sqrt{a}}\right )}{\sqrt{b} \sqrt{1-\frac{b x}{a}}}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.004, size = 99, normalized size = 1. \begin{align*}{\frac{1}{3} \left ( -bx+a \right ) ^{{\frac{5}{2}}}\sqrt{x}}+{\frac{5\,a}{12} \left ( -bx+a \right ) ^{{\frac{3}{2}}}\sqrt{x}}+{\frac{5\,{a}^{2}}{8}\sqrt{x}\sqrt{-bx+a}}+{\frac{5\,{a}^{3}}{16}\sqrt{x \left ( -bx+a \right ) }\arctan \left ({\sqrt{b} \left ( x-{\frac{a}{2\,b}} \right ){\frac{1}{\sqrt{-b{x}^{2}+ax}}}} \right ){\frac{1}{\sqrt{x}}}{\frac{1}{\sqrt{-bx+a}}}{\frac{1}{\sqrt{b}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.86577, size = 370, normalized size = 3.85 \begin{align*} \left [-\frac{15 \, a^{3} \sqrt{-b} \log \left (-2 \, b x + 2 \, \sqrt{-b x + a} \sqrt{-b} \sqrt{x} + a\right ) - 2 \,{\left (8 \, b^{3} x^{2} - 26 \, a b^{2} x + 33 \, a^{2} b\right )} \sqrt{-b x + a} \sqrt{x}}{48 \, b}, -\frac{15 \, a^{3} \sqrt{b} \arctan \left (\frac{\sqrt{-b x + a}}{\sqrt{b} \sqrt{x}}\right ) -{\left (8 \, b^{3} x^{2} - 26 \, a b^{2} x + 33 \, a^{2} b\right )} \sqrt{-b x + a} \sqrt{x}}{24 \, b}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 11.2105, size = 248, normalized size = 2.58 \begin{align*} \begin{cases} - \frac{11 i a^{\frac{5}{2}} \sqrt{x}}{8 \sqrt{-1 + \frac{b x}{a}}} + \frac{59 i a^{\frac{3}{2}} b x^{\frac{3}{2}}}{24 \sqrt{-1 + \frac{b x}{a}}} - \frac{17 i \sqrt{a} b^{2} x^{\frac{5}{2}}}{12 \sqrt{-1 + \frac{b x}{a}}} - \frac{5 i a^{3} \operatorname{acosh}{\left (\frac{\sqrt{b} \sqrt{x}}{\sqrt{a}} \right )}}{8 \sqrt{b}} + \frac{i b^{3} x^{\frac{7}{2}}}{3 \sqrt{a} \sqrt{-1 + \frac{b x}{a}}} & \text{for}\: \frac{\left |{b x}\right |}{\left |{a}\right |} > 1 \\\frac{11 a^{\frac{5}{2}} \sqrt{x} \sqrt{1 - \frac{b x}{a}}}{8} - \frac{13 a^{\frac{3}{2}} b x^{\frac{3}{2}} \sqrt{1 - \frac{b x}{a}}}{12} + \frac{\sqrt{a} b^{2} x^{\frac{5}{2}} \sqrt{1 - \frac{b x}{a}}}{3} + \frac{5 a^{3} \operatorname{asin}{\left (\frac{\sqrt{b} \sqrt{x}}{\sqrt{a}} \right )}}{8 \sqrt{b}} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]